<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mod_tintuc_right extends CI_Controller {
    private $table = 'baiviet';
	public function index()	{
        $where ='';
        $order = array('truong'=>'id','sapxep'=>'DESC');
        $select = array('image','title','alias','created');
        $data['moinhat'] = $this->home_model->get_data($this->table,$where,$order,6,$select); 
        $order = array('truong'=>'hits','sapxep'=>'DESC');
        $select = array('image','title','alias','created');
        $data['docnhieu'] = $this->home_model->get_data($this->table,$where,$order,6,$select);  
        $this->load->view('mod_tintuc_right/vmod_tintuc_right',$data);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */